home *** CD-ROM | disk | FTP | other *** search
- rem This is a quick demo bat file on how PATHINC works.
- rem At the end the path should be the same as on the outset,
- rem unless one is nested in shells (i.e. Norton Commander).
- path
- pathinc c:\mypath 3
- pathinc - c:\mypath
- rem
- rem The following prompts for a new directory to be included in the path.
- rem You may want to enter only a carriage return to leave the path unchanged.
- pathinc
- pathinc c:\nwpath
- pathinc - 2